﻿<UserControl x:Class="InseSoft.Views.Controls.CotizacionToolbar"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d" 
             d:DesignHeight="32">
    <UserControl.Resources>
        <Style TargetType="Image" BasedOn="{StaticResource ToolbarImageStyle}"/>
    </UserControl.Resources>
    <Grid>
        <ToolBarTray HorizontalAlignment="Stretch">
            <ToolBar Band="1" BandIndex="1" HorizontalAlignment="Stretch">
                <Button  Command="{Binding Path=SaveCommand}">
                    <Image Source="..\images\toolbar\save.png" ToolTip="Guardar"/>
                </Button>
                <Button Command="{Binding Path=CopyCommand}">
                    <Image Source="..\images\toolbar\copy.png" ToolTip="Copiar"/>
                </Button>
                <Button Command="{Binding Path=DeleteCommand}">
                    <Image Source="..\images\toolbar\delete.png" ToolTip="Eliminar" />
                </Button>
                <Button Command="{Binding Path=NewCommand}">
                    <Image Source="..\images\toolbar\file.png" ToolTip="Nuevo"/>
                </Button>
                <Separator/>
                <Button Command="{Binding Path=SearchCommand}">
                    <Image Source="..\images\toolbar\search.png" ToolTip="Buscar"/>
                </Button>
                <Separator/>
                <Button Command="{Binding Path=PrintCommand}">
                    <Image Source="..\images\toolbar\print.png" ToolTip="Imprimir"/>
                </Button>
                <Separator/>
                <Button Command="{Binding Path=ApproveCommand}">
                    <Image Source="..\images\toolbar\play.png" ToolTip="Aplicar"/>
                </Button>
                <Separator/>
                <Button Command="{Binding Path=ExitCommand}">
                    <Image Source="..\images\toolbar\up.png" ToolTip="Salir"/>
                </Button>
            </ToolBar>
        </ToolBarTray>
    </Grid>
</UserControl>